﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Lapv.Master" AutoEventWireup="true"
    CodeBehind="nampv.aspx.cs" Inherits="Lapv.nampv" %>

<%@ Register TagPrefix="editor" Assembly="WYSIWYGEditor" Namespace="InnovaStudio" %>
<%@ Register Namespace="ASPnetControls" Assembly="ASPnetPagerV2_8" TagPrefix="cc" %>
<asp:Content ID="Content4" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="header" runat="server">
    <%--menu tab  --%>
    <div class="tabnav">
        <ul>
            <li><a href="<%= domain%>" class="list_t">D/S sự kiện</a></li>
            <li><a href="<%= domain%>" class="add_t">Thêm sự kiện</a></li>
            <li class="active"><a href="<%= domain%>" class="list_t">D/S Bot</a></li>
            <li><a href="<%= domain%>" class="list_t">D/S Event_Bot</a></li>
            <li><a href="<%= domain%>" class="add_t">Tạo giftcode</a></li>
            <li><a href="<%= domain%>" class="add_t">Set Role</a></li>
        </ul>
        <div class="clr">
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="content" runat="server">
    <%--box action --%>
    <div class="action">
        <ul>
            <li>
                <label>
                    Chọn loại:</label>
                <input type="text" />
            </li>
            <li><span>Ngày:</span>
                <input type="text" class="ip_date" />
            </li>
            <li><span>Thời gian:</span>
                <input type="text" class="ip_time" />
            </li>
            <li><span>Chọn loại:</span>
                <select>
                    <option>select option </option>
                </select>
            </li>
            <li>
                <input type="submit" value="Tìm kiếm" />
            </li>
        </ul>
        <div class="clr">
        </div>
    </div>
    <%--form1 add & edit--%>
    <div class="form form1">
        <div>
            <span>user name</span>
            <input type="text" />
        </div>
        <div>
            <span>mat khau</span>
            <input type="password" />
        </div>
        <div>
            <span>Chon select</span>
            <div>
                <select>
                    <option>select option </option>
                </select>
            </div>
        </div>
        <div>
            <span>Nội dung:</span>
            <div class="CKEdittorCSS">
                <editor:WYSIWYGEditor runat="server" scriptPath="../scripts/" ID="oEdit1" />
            </div>
        </div>
        <div>
            <span></span>
            <div>
                <input type="submit" value="Lưu" />
                <input type="button" value="Hủy" />
            </div>
        </div>
    </div>
    <%--form2 list - grid -table
    <div class="form form2">
        <asp:GridView ID="GridView1" runat="server" CssClass="table1" AutoGenerateColumns="false"
            OnItemCommand="Update_ItemCommand">
            <Columns>
                <asp:TemplateColumn HeaderText="Mã quyền" ItemStyle-Width="60">
                    <itemtemplate>
                        <asp:Label runat="server" ID="lb_id" Text='<%# Eval("id") %>' />
                    </itemtemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="Tên quyền" ItemStyle-Width="300">
                    <itemtemplate>
                        <%# Eval("name") %>
                     </itemtemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="Truy cập" ItemStyle-Width=" ">
                    <itemtemplate>
                    <%# Eval("permissions")%>
                </itemtemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="Sửa" ItemStyle-Width="30">
                    <itemtemplate>
                     <asp:LinkButton runat="server" ID="lbt_edit" CommandName="Edit" CommandArgument='<%# Eval("id") %>'
                        Text="Sửa"><img src="../styles/imgs/edit.gif " /></asp:LinkButton>
                    </itemtemplate>
                </asp:TemplateColumn>
                <asp:TemplateColumn HeaderText="Xóa" ItemStyle-Width="30">
                    <itemtemplate>
                    <asp:LinkButton runat="server" ID="lbtn_delete" CommandName="Delete" OnClientClick="return confirm('Xóa vĩnh viễn?')"
                        CommandArgument='<%# Eval("id") %>' Text="Xóa">
                        <img src="../styles/imgs/delete.gif " /></asp:LinkButton>
                </itemtemplate>
                </asp:TemplateColumn>
            </Columns>
        </asp:GridView>
    </div>--%>
    <%--form2 list - grid -table--%>
    <div class="form form2">
        <table class="table1">
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td style="width: 200px;">
                    noi dung
                </td>
            </tr>
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">tieu de</a>
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
            </tr>
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">tieu de</a>
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    <input type="text" />
                </td>
            </tr>
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">tieu de</a>
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/styles/imgs/checkmark.png" />
                </td>
            </tr>
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">tieu de</a>
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    <input type="submit" value="Sửa" />
                </td>
            </tr>
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">tieu de</a>
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">
                        <img src="styles/imgs/delete.gif" alt="" /></a>
                </td>
            </tr>
            <tr>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">tieu de</a>
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    noi dung
                </td>
                <td>
                    <a href="">
                        <img src="styles/imgs/delete.gif" alt="" /></a>
                </td>
            </tr>
        </table>
    </div>
    <%--box phan trang ASPnetPagerV2_8--%>
    <div class="form pager">
        <div class="p_ddl">
            Number Record:
            <asp:DropDownList ID="ddlPaged" runat="server" AutoPostBack="true" OnSelectedIndexChanged="ddlPaged_SelectedIndexChanged">
            </asp:DropDownList>
        </div>
        <div class="p_pager">
            <cc:PagerV2_8 ID="pager1" runat="server" OnCommand="pager_Command" GenerateGoToSection="true" />
        </div>
    </div>
</asp:Content>
